package com.yld.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yld.demo.entity.OrderList;
import com.yld.demo.entity.ProdInfo;
import com.yld.demo.mapper.OrderListMapper;
import com.yld.demo.mapper.ProdInfoMapper;
import com.yld.demo.service.ProdInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import yld.utils.ResultUtils;
import yld.utils.ResultVo;

import java.util.Date;
import java.util.List;

@Service
public class ProdInfoServiceImpl extends ServiceImpl<ProdInfoMapper, ProdInfo> implements ProdInfoService {
    @Autowired
    private ProdInfoMapper prodInfoMapper;

    @Override
    public ProdInfo selectById(Integer prodId) {
        ProdInfo list = prodInfoMapper.selectById(prodId);
        return list;
    }

}

